import request from "./http.js"

export function get (url, data, hasToken,type) {
	//return request(url, 'GET', data, hasToken, type, false)
	return request(url, 'GET', data, hasToken, 'urlencoded', false)
}
 
export function post(url, data,hasToken,type) {
	return request(url, 'POST', data, hasToken, type, false)
	//return request(url, 'POST', data, hasToken, 'json', false)
}
